@import '../../var';
@import '../../common.wxss';
.list {
    display: flex;
    flex-direction: column;
    background-color: $bgcolor-gray;
}

.list-item {
    display: flex;
    margin-bottom: $lg;
    padding: $xl $lg;
    background: $bgcolor;
    .avatar {
        flex: none;
        width: 70rpx;
        height: 70rpx;
        margin-right: 20rpx;
        &.date {
            flex-direction: column;
            align-items: center;
            margin-top: -10rpx;
            font-weight: 700;
            font-size: $font-size-small;
            text-align: center;
            .day {
                font-size: $font-size-large * 1.5;
            }
        }
    }
    .main {
        flex: auto;
        width: calc(100% - 64rpx - #{$md});
        .user {
            display: flex;
            align-items: center;
            padding-bottom: $base;
            &-verify {
                display: flex;
                align-items: center;
                align-items: flex-start;
                margin-left: 10rpx;
                line-height: 26rpx;
                image {
                    width: 26rpx;
                    height: 26rpx;
                }
                text {
                    margin-left: 6rpx;
                    color: $info-color;
                    font-weight: 400;
                    font-size: 24rpx;
                    text-align: left;
                }
            }
            .name {
                display: flex;
                flex: none;
                align-items: center;
                color: $title-color;
                font-weight: 700;
                font-size: 26rpx;
            }
            .verify {
                display: flex;
                align-items: center;
                max-width: 12em;
                margin-left: $sm;
                color: $info-color;
                font-size: 21rpx;
                .icon {
                    width: 22rpx;
                    height: 22rpx;
                    margin-right: 5rpx;
                    vertical-align: top;
                }
            }
            .feed-info {
                flex: none;
                margin-left: auto;
                color: $decor-color !important;
                font-size: $font-size-small;
            }
        }
        .content {
            margin-bottom: $base;
            color: $text-color;
        }
        .offer {
            font-weight: 600;
            font-size: 34rpx;
        }
        .images {
            margin: $sm 0 $xl;
            padding-right: 80rpx;
        }
        .video-wrap {
            position: relative;
            height: 500rpx;
            .image {
                position: relative;
                width: 100%;
                height: 100%;
                overflow: hidden;
                background: $bgcolor-gray center / cover no-repeat;
                border-radius: 10rpx;
                &::after {
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    display: block;
                    background: linear-gradient(transparent 50%, rgba(#000, 0.4) 100%);
                    content: '';
                }
            }
            .play-icon {
                position: absolute;
                bottom: 15rpx;
                left: 15rpx;
                width: 120rpx;
                height: 120rpx;
            }
        }
    }
    .footer {
        margin-top: 20rpx;
        display: flex;
        align-items: center;
        width: 100%;
        height: 53rpx;
        font-size: $font-size-small;
        .left-wrap {
            display: flex;
            flex: auto;
            min-width: 0;
        }
        .right-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 48%;
            height: 40rpx;
        }
        .topic {
            flex: auto;
            min-width: 0;
            margin-right: 4rpx;
        }
        .product {
            display: flex;
            align-items: center;
            padding: 5rpx 20rpx;
            color: $title-color;
            background-color: $border-color;
            border-radius: 20rpx;
            .img {
                width: 20rpx;
                height: 22rpx;
                margin-right: 10rpx;
            }
            .title {
                max-width: 200rpx;
            }
        }
        .wendas {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 36rpx;
            padding: 5rpx 14rpx 5rpx 5rpx;
            color: #fff;
            font-size: 20rpx;
            background-color: #87c46c;
            border-radius: 18rpx;
            image {
                width: 26rpx;
                height: 26rpx;
                margin-right: 6rpx;
            }
        }
        .icon {
            width: 32rpx;
            height: 30rpx;
            margin-right: 10rpx;
        }
        .like {
            position: relative;
            display: flex;
            flex: none;
            align-items: center;
            color: $info-color;
            font-size: $font-size-small;
            height: 40rpx;
            &.liked {
                color: $danger-color;
            }
        }
        .comment {
            display: flex;
            flex: none;
            align-items: center;
            width: 80rpx;
            color: $info-color;
            font-size: $font-size-small;
            height: 40rpx;
        }
        .more {
            flex: none;
            width: 50rpx;
            text-align: right;
            image {
                width: 36rpx;
                height: 36rpx;
            }
        }
    }
}

.shows {
    height: 100%;
    overflow-y: hidden;
}

.delong-box {
    position: fixed;
    bottom: 0;
    z-index: 800;
    width: 100%;
    height: 100vh;
    background-color: rgba(#000, 0.4);
}

.delong {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 280rpx;
    color: $title-color;
    .chooseList {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: 200rpx;
        padding: 40rpx 30rpx;
        color: $title-color;
        font-size: 24rpx;
        text-align: center;
        background-color: #f6f6f6;
        &-item {
            width: 68rpx;
            height: 125rpx;
            margin-right: 55rpx;
            &:nth-child(n + 7) {
                margin-top: 20rpx;
            }
            &:nth-child(6n) {
                margin-right: 0rpx;
            }
            image {
                width: 68rpx;
                height: 68rpx;
            }
        }
    }
    .close {
        height: 80rpx;
        font-size: 26rpx;
        line-height: 80rpx;
        text-align: center;
        background-color: #ffffff;
    }
}

//弹出框
.detailBox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 800;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    .contentBox {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 0 30rpx 210rpx;
        color: $title-color;
        background-color: $bgcolor-light;
        border-radius: 20rpx 20rpx 0 0;
        .titleBox {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: space-between;
            height: 90rpx;
            .title {
                font-weight: 600;
                font-size: 28rpx;
            }
            .cancel {
                font-size: 40rpx;
            }
        }
        .content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            height: 100%;
            .categories {
                display: flex;
                flex-wrap: wrap;
                width: 100%;
                &-item {
                    display: inline-block;
                    width: 210rpx;
                    height: 60rpx;
                    margin: 30rpx 20rpx 0 0;
                    color: $title-color;
                    font-size: 28rpx;
                    line-height: 60rpx;
                    text-align: center;
                    background-color: $page-background-color;
                    border-radius: 6rpx;
                }
                .active {
                    background-color: $primary-color;
                }
            }
            .fans {
                display: flex;
                justify-content: center;
                width: 100%;
                color: $title-color;
                font-weight: 600;
                font-size: 60rpx;
            }
            .getSorce {
                display: flex;
                align-items: flex-end;
                justify-content: center;
                width: 100%;
                color: $info-color;
                font-size: 30rpx;
            }
            .btn {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 400rpx;
                height: 62rpx;
                margin: 50rpx auto 0;
                color: #ffffff;
                font-weight: 600;
                font-size: 28rpx;
                background-color: $primary-color;
                border-radius: 32rpx;
            }
        }
    }
}